// types.ts
export interface LoginRequest {
  account: string
  password: string
}

export interface LoginResponse {
  code: number
  data: LoginData
  msg: string
}

export interface LoginData {
  info: Info
  token: string
}

export interface Info {
  account: string
  admin_id: number
  log_time: string
  name: string
  sex: number //0 男，1女
  status: number
  stu_num: number
}

export interface RegisterRequest {
  account: string
  name: string
  password: string
  stu_num: number
}



